﻿#include "buffer.h"
#include <iostream>
int main()
{
    Buffer buffer;
    buffer.write("hello, world", 12);
    std::cout << buffer.readString(12) << std::endl;
    return 0;
}